const http = require('http');
const fs = require('fs');

const server = http.createServer((req,res)=> {
  res.setHeader('content-type','text/html;charset=utf-8');
  let tableHtml = fs.readFileSync('./测试文件/table.html')
  res.write(tableHtml);
  res.end()
})
server.listen(9000,()=> {
  console.log('running ....')
})

